<template id="addIndex">
      <div class="addIndex_all">
         <div class="addIndex_top">
             <h3>地址管理</h3>
             <img src="../image/dayu.jpg" alt="" @click="get_pe()">
             <img src="../image/add_j.jpg" alt="" @click="get_jia()">
         </div>
          <div class="addIndex_one" @click="get_xiu()">
              <p>
                  <span>秀秀</span>
                  <span>150****7898</span>
                  <span>公司</span>
              </p>
              <p>适合商务中心2298号1306适合商务中心2298号1306</p>
              <img src="../image/day.jpg" alt="">
          </div>
      </div>
</template>

<script>
    export default {
        name: 'addIndex',
        data() {
            return {}
        },

        mounted: function () {

        },
        methods: {
            get_pe:function () {
                window.history.go(-1);
            },
            get_xiu:function () {
                this.$router.push('/addressEd')
            },
            get_jia:function(){
                this.$router.push('/addNew')
            }
        }
    }
</script>
<style>
    /*1*/
    .addIndex_one p:nth-of-type(2){
        width:5rem;
        height:auto;
        line-height:0.42rem;
        font-size:0.22rem;
       /* text-indent:0.24rem;*/
        margin-left: 0.24rem;
        color:#9c9c9c;
        overflow: hidden; /*!*自动隐藏文字*!*/
        text-overflow: ellipsis;/*!*文字隐藏后添加省略号*!*/
        white-space: pre-wrap;
    }
    .addIndex_one p:nth-of-type(1){
        width:100%;
        height:0.42rem;
    }
    .addIndex_one p:nth-of-type(1) span:nth-of-type(1){
        float:left;
        height:0.42rem;
        line-height:0.42rem;
        color:#000000;
        font-size:0.26rem;
        margin-left:0.24rem;
        display:block;
    }
    .addIndex_one p:nth-of-type(1) span:nth-of-type(2){
        float:left;
        height:0.42rem;
        line-height:0.42rem;
        color:#000000;
        font-size:0.26rem;
        margin:0 0.17rem 0 0.3rem;
        display:block;
    }
    .addIndex_one p:nth-of-type(1) span:nth-of-type(3){
        float:left;
        height:0.36rem;
        line-height:0.36rem;
        font-size:0.2rem;
        text-align:center;
        width:0.6rem;
        border:0.01rem solid #fb9e44;
        color:#fb9e44;
        display:block;
        border-radius:0.05rem;
    }
    .addIndex_one img{
        position:absolute;
        display:block;
        width: 0.21rem;
        height: 0.36rem;
        top:0.6rem;
        right:0.26rem;
    }
    .addIndex_one{
        width:100%;
        height:1.18rem;
        padding-top:0.35rem;
        background: #ffffff;
        border-bottom:0.01rem solid #f0f0f0;
        position:relative;
    }
/*头部*/
.addIndex_all{
    background:#f5f4f2;
    width:100%;
    height:100%;
}
.addIndex_top h3{
    width:100%;
    height:0.79rem;
    line-height:0.79rem;
    text-align:center;
    color:#85a45a;
    font-size:0.28rem;
}
.addIndex_top img:nth-of-type(1){
    display:block;
    position:absolute;
    height:0.37rem;
    width:0.31rem;
    left:0.27rem;
    top:0.25rem;
}
.addIndex_top img:nth-of-type(2){
    display:block;
    position:absolute;
    height:0.56rem;
    width:0.56rem;
    right: 0.15rem;
    top: 0.13rem;
}
.addIndex_top{
    width:100%;
    height:0.8rem;
    position:relative;
    background:#ffffff;
    margin-bottom:0.1rem;
}
</style>